<template>
	<view>
		<button>{{ countStore.count }}</button>

		<button @click="countStore.increment()">+</button>
		<button @click="countStore.decrement()">-</button>
	</view>
</template>

<script setup>
	import {
		useCounterStore
	} from '@/stores/counter.js'
	
	import * as xxx from './a.js'
	console.log('XXX', xxx) // {name: , age: ,getName}

	const countStore = useCounterStore()
</script>

<style>

</style>